package mutsumimod.powers;

import com.megacrit.cardcrawl.actions.common.GainEnergyAction;
import com.megacrit.cardcrawl.core.AbstractCreature;
import mutsumimod.MutsumiMod;
import mutsumimod.actions.TriggerStandAction;

public class MutsumiFarmlandPower extends BasePower {
    public static final String POWER_ID = MutsumiMod.makeID(MutsumiFarmlandPower.class.getSimpleName());

    public MutsumiFarmlandPower(AbstractCreature owner,int amount) {
        super(POWER_ID, PowerType.BUFF, false, owner, amount);
    }

    @Override
    public void atStartOfTurn() {
        flash();
        drawCard();
        addToBot(new TriggerStandAction(5,new GainEnergyAction(amount)));
    }


    @Override
    public void updateDescription() {
        this.description = DESCRIPTIONS[0] + this.amount + DESCRIPTIONS[1]+amount+DESCRIPTIONS[2];
    }



}
